<template>
    <div>
        <p>邮箱地址<input type="text" v-model="email"></p>
        <p><input type="button" value="发送" @click="send()"></p>
    </div>
</template>

<script>
import axios from 'axios'
export default {
    name:"email_info",
    data(){
        return{
            email:""
        }
    },
    methods:{
        send(){
            var data = new FormData()
            data.append("email",this.email)
            axios({
                url:"api/qin/meils/",
                method:"post",
                data:data
            }).then(res=>{
                console.log(res.data);
            })
        }
    }
}
</script>

<style>

</style>
